package com.beiye.drivertransport.adapter;

import android.content.Context;
import android.widget.TextView;

import com.android.frame.adapter.CommonAdapter;
import com.android.frame.adapter.ViewHolder;
import com.beiye.drivertransport.R;
import com.beiye.drivertransport.bean.SpecifiedLearningBusinessBean;

import java.util.List;

/**
 * Created by ky on 2018/6/5.
 */

public class PopWindowPlanApt extends CommonAdapter<SpecifiedLearningBusinessBean.RowsBean> {
    private Context context;
    private List<SpecifiedLearningBusinessBean.RowsBean> mList;
    public PopWindowPlanApt(Context context, List<SpecifiedLearningBusinessBean.RowsBean> mList, int itemLayoutId) {
        super(context, mList, itemLayoutId);
        this.context = context;
        this.mList = mList;
    }

    @Override
    public void convert(ViewHolder holder, SpecifiedLearningBusinessBean.RowsBean item, int positon) {
        TextView tv_checkdate =(TextView)holder.getView(R.id.tv_checkdate4);
     //   RelativeLayout re_checkdate =(RelativeLayout)holder.getView(R.id.re_checkdate);
            String planName = item.getPlanName();
            tv_checkdate.setText(planName);


    }


}